package com.cgt.web.pojo;

public class Classroom {
    private Integer id;
    private String name;
    private String address;
    private Integer seatsum;

    public Classroom() {
    }

    public Classroom(Integer id, String name, String address, Integer seatsum) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.seatsum = seatsum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getSeatsum() {
        return seatsum;
    }

    public void setSeatsum(Integer seatsum) {
        this.seatsum = seatsum;
    }

    @Override
    public String toString() {
        return "Class{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", seatsum=" + seatsum +
                '}';
    }
}
